/*
 * Copyright 2006-2023 ahtelit.com, All Rights Reserved.
 */

package com.telit.firecommand.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * 火情处置信息DTO
 *
 * @author yuezhuang
 * @since 2023-03-17
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "FireDisposalInfoDTO", description = "火情处置信息DTO")
public class FireDisposalInfoDTO implements Serializable {

    private static final long serialVersionUID = -1L;

    /**
     * 处置时间
     */
    @ApiModelProperty(value = "处置时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date disposeTime;

    /**
     * 处置人
     */
    @ApiModelProperty(value = "处置人")
    private String disposePerson;

    /**
     * 处置机构
     */
    @ApiModelProperty(value = "处置机构")
    private String disposeOrg;

    /**
     * 处置意见
     */
    @ApiModelProperty(value = "处置意见")
    private String disposeOpinion;

    /**
     * 火情表id
     */
    @ApiModelProperty(value = "火情表id")
    private Long fireId;

}
